﻿@model Home.Site.Models.DataLayer.Music

@{
    ViewBag.Title = ViewBag.Message;
}
@using (Html.BeginForm("Create", "Music", FormMethod.Post, new {enctype = "multipart/form-data"}))
{
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>Добавление музыки</legend>
        @Html.HiddenFor(model => model.idmusic)
        @Html.HiddenFor(model => model.author)
        <p>
            <input type="file" name="fileUpload" /><br />
            <input type="submit" class="btn btn-large btn-success" name="Submit" id="SubmitSingle" value="Загрузить" />            
        </p>
    </fieldset>
}
<div>
    @Html.ActionLink("Back to List", "UserProfile", "Account")
</div>
